-
Notifications
You must be signed in to change notification settings - Fork 7.7k
STM32MP2: add I2C support #92185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
STM32MP2: add I2C support #92185
Conversation
Hello @TanguyRaufflet, and thank you very much for your first pull request to the Zephyr project! |
To simplify the reviews could you split it in 2 PRs one per peripheral? |
6c77beb
to
d7e3e08
Compare
Of course, I removed the watchdog-related commits. Since watchdog and i2c edit files in common, I'll post the PR with the watchdog integration after this one has been merged. |
d7e3e08
to
b04bd89
Compare
The following west manifest projects have changed revision in this Pull Request:
⛔ DNM label due to: 1 project with PR revision Note: This message is automatically posted and updated by the Manifest GitHub Action. |
Update hal_stm32 to include the modifications allowing to read the I2C8 clock frequency in the same way as I2C1-7. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
The STM32MP2 series needs gpioz pinctrl support to be able to use the GPIOZ pins. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Add support for GPIOZ in the STM32 GPIO driver. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Add GPIO Z node to the device tree for STM32MP2 SoC. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Add clock bindings for I2C peripherals for the STM32MP2 series. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Add I2C clocks rate reading to the STM32MP2 clock driver. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
According to the STM32MP2 reference manual, the I2C controller uses a single interrupt line for all events (EV + ERR), so the combined interrupt must be enabled for the STM32MP2 series. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
Add I2C nodes in non-secure context to dtsi. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
The I2C is now supported. Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
This commit adds the i2c8 node to the device tree for the STM32MP257F-EV1 board. This node corresponds to the i2c exposed by the GPIO expansion connector [1] and not used by the cortex A35. [1]: https://wiki.st.com/stm32mpu/wiki/STM32MP257x-EV1_-_hardware_description Signed-off-by: Tanguy Raufflet <tanguy.raufflet@savoirfairelinux.com>
b04bd89
to
f038a95
Compare
|
This PR adds I2C support for the STM32MP2 SoC series.
Signed-off-by: Tanguy Raufflet tanguy.raufflet@savoirfairelinux.com